package me.atbar.moonlib.util;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import java.util.List;

/**
 * @author Admin
 */
public class LogUtils {

    private LogUtils() {}

    public static void send(String println) {
        Bukkit.getConsoleSender().sendMessage(ChatColor.translateAlternateColorCodes('&', println));
    }

    public static void send(List<String> printlnList) {
        printlnList.forEach((print) -> {
            Bukkit.getConsoleSender().sendMessage(ChatColor.translateAlternateColorCodes('&', print));
        });
    }

}
